public static mixed count ([array $parameters])
Allows to count how many records match the specified conditions
//How many robots are there? $number = Robots::count(); echo "There are ", $number, "\n"; //How many mechanical robots are there? $number = Robots::count("type = 'mechanical'"); echo "There are ", $number, " mechanical robots\n";
Please login to continue.