Get a map of all the block's descendants mapping their type to the number of children with that type.
The block to map.
Optional
Optionally ignore all following statements (blocks that are not inside a value or statement input of the block).
Map of types to type counts for descendants of the bock.
Get a map of all the block's descendants mapping their type to the number of children with that type.