returns the number of occurrences of a key in a JSON object
<nlohmann/json.hpp>
size_type count(object_t::key_type const& key) const;