childrenCount() and content() functions added