Added news count function
Moved Children helper from a single template to global