requestCount function
Implementation
Future requestCount({required String endpoint, Map<String, String>? params}) async {
params?.addAll({
"_count": "*",
"_count_first": "true",
});
return await requestMap(endpoint: endpoint, responseHandler: countFromJson, params: params);
}