returns the number of elements
Declared in <nlohmann/json.hpp>
<nlohmann/json.hpp>
size_type size() const noexcept;
the number of elements (0 for null, the array/object size for arrays and objects, 1 for all other types)