<?php $arr = ["one", "two", "three", "four"]; echo count($arr); ?>
$cars = array("Volvo","BMW","Toyota"); echo count($cars); // 3