Pass params Map to count() query