Get JSON Api: Count feature and improvements