input: Write a python function to get the child count of a TopicItem and its parent.
  assert get_child_count(topic_item_instance) == expected_count
  assert get_child_count(parent_instance) == expected_count
output: def get_child_count(instance):
      return len(instance.children)