getChildCountAndIncrement

Returns the number of children of a given type @paramcomponent component has and then increments it by 1.

Return

the number of children components of type @paramcomponent

Parameters

component

the child component