Returns the number of children currently in the specified layer.
Parameters:
layer
Returns: an int specifying the number of components in that layer
Diagram: Layers