Cuenta una matriz en PHP
<?php
$vegetables = ["Cabbage", "Carrot", "Lettuce"];
$arrayLength = count($vegetables);
echo $arrayLength; //returns 3
?>
Outstanding Lioncatcher