map.Count()

Returns the number of key-value pairs in the map.