Changing pagesize to count