count page cho queries