LEFT JOIN causes wrong entries count ( it is obvious, when you join one-to-many table) I fixed this problem using "SELECT DISTINCT" in entry manager, even their is no grouping SELECT count(".($group ? 'DISTINCT ' : 'DISTINCT')."`e`.id) as `count`