I've googled this but found no answers, so I guess it's not possible. If there is a way, I'd love to know it. Thanks
The number of keys in the array will always be the number of elements in the array, as the keys must be unique. So:
$numKeys = count($array);
2.1m questions
2.1m answers
60 comments
57.0k users