I am using version 5.1.9 with Ajax plugins. When I create simple module for example listing nationalities it shows correctly total and pagination under the table. When I use 'GROUP BY', the Total is 1 and no pagination. 


public static function querySelect(  ) {
    return " SELECT nationalities.* ,
        count(interpreters.nationality) AS Interpreters
    FROM nationalities
	LEFT JOIN interpreters ON interpreters.nationality = nationalities.id ";
	}	
	public static function queryWhere(  ){
		return "  WHERE nationalities.id IS NOT NULL ";
	}
	public static function queryGroup(){
		return " GROUP BY nationalities.id ";
	}
	
	
What would be the quickest way to fix it?
Thank you.