Is it possible to count sub-items in view in Drupal 7?
In views, there is an one field called global counter. Render it and it will give you the count. If you wish you could also hide it via display setting.