(PHP 8)
WeakMap::count — Counts the number of live entries in the map
Counts the number of live entries in the map.
This function has no parameters.
Returns the number of live entries in the map.