fixed isCountCall parameter passing
supports CountResponse serialization
fixed function/$count requests processing