added count parameters in json response