Level 88
Well, rows is an array, right? You can use count($rows) to get the count here.
This might not work, because firebase returns a generator. So you can basically only get the count by looping over all the items. So still get the count you can use iterator_count($rows) instead.
4 likes