public int getComponentCountInLayer (int layer)

Returns the number of children currently in the specified layer.

Parameters:
layer    an int specifying the layer to check

Returns:  an int specifying the number of components in that layer