This method of the Element interface retrieves the number of child elements.
public int numElements();
Returns the number of child elements.