[BUGFIX] Fixing pagination page count when  isn't using QOM.