protected function getGroupsCount() {
    // There is no unpublished option for groups.
    $query = $this->connection->select('groups', 'g');
    $query->addExpression('COUNT(*)');
    return $query->execute()->fetchField();
  }
protected function getGroupsCount() {
    // There is no unpublished option for groups.
    $query = $this->connection->select('groups', 'g');
    $query->addExpression('COUNT(*)');
    return $query->execute()->fetchField();
  }
protected function getGroupsCount ( ) { // There is no unpublished option for groups. $ query = $ this -> connection -> select ( 'groups' , 'g' ) ; $ query -> addExpression ( 'COUNT(*)' ) ; return $ query -> execute ( ) -> fetchField ( ) ; }
Get total count of groups.
Get total count of groups .