public function countTypesInGroup($groupId)
    {
        try {
            return $this->innerGateway->countTypesInGroup($groupId);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }
public function countTypesInGroup($groupId)
    {
        try {
            return $this->innerGateway->countTypesInGroup($groupId);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }
public function countTypesInGroup ( $ groupId ) { try { return $ this -> innerGateway -> countTypesInGroup ( $ groupId ) ; } catch ( DBALException $ e ) { throw new RuntimeException ( 'Database error' , 0 , $ e ) ; } catch ( PDOException $ e ) { throw new RuntimeException ( 'Database error' , 0 , $ e ) ; } }
Returns the number of types in a certain group.

@param int $groupId

@return int
Returns the number of types in a certain group .