query params to get all count instance method too