add children count method to content