fix pagination count minor issue