Feature count(aggregate map, boolean deep)

Like the title suggests, I was wondering if it would be possible to get a count that returns the total number of elements in a map, not just the amount at the suggested slice.
Low priority, for now I know how many keys deep the map is and can foreach, but I can't think of a way to do it to cover maps of varying depths.
 
Top