add simple statistics and pagination order