The count() Function
<?php $employee []= "A"; $employee []= "B"; $employee []= "C"; $employee []= "D"; echo count ($employee); ?>