Fix KisResourceModel::rowCount() after the deduplication-via-group-by change
After adding GROUP BY expression to the resources I should have modified the rowCount() query as well. Otherwise they go out of sync.
After adding GROUP BY expression to the resources I should have modified the rowCount() query as well. Otherwise they go out of sync.