This method of the IAccessible Interface retrieves the number of components in the parent container.
public int getAccChildCount();
Returns the number of components in the parent container.