code: func (m *GormCommentRepository) Count(ctx context.Context, parentID uuid.UUID) (int, error) {
  	defer goa.MeasureSince([]string{"goa", "db", "comment", "query"}, time.Now())
  	var count int
  
  	m.db.Model(&Comment{}).Where("parent_id = ?", parentID).Count(&count)
  
  	return count, nil
  }
docs: // Count all comments related to a single item