def meta_group_member_count(opened_member_count_method_name, unopened_member_count_method_name, limit)
        notification = group_member? && group_owner.present? ? group_owner : self
        notification.opened? ?
          notification.send(opened_member_count_method_name, limit) :
          notification.send(unopened_member_count_method_name)
      end
def meta_group_member_count(opened_member_count_method_name, unopened_member_count_method_name, limit)
        notification = group_member? && group_owner.present? ? group_owner : self
        notification.opened? ?
          notification.send(opened_member_count_method_name, limit) :
          notification.send(unopened_member_count_method_name)
      end
Returns count of various members of the notification.
 This method is designed to cache group by query result to avoid N+1 call.
 @api protected

 @param [Symbol] opened_member_count_method_name Method name to count members of unopened index
 @param [Symbol] unopened_member_count_method_name Method name to count members of opened index
 @param [Integer] limit Limit to query for opened notifications
 @return [Integer] Count of various members of the notification