Working on a practice application with the JSON server serving as the backend, I have a question. Is there a way to determine the total number of records at an endpoint without actually loading all the records? For example, if my db.json file contains data like the snippet below, how can I identify that there is only one record at the endpoint without having to fetch the entire record itself?
{
"books": [{
"title": "The Da Vinci Code",
"rating": "0"}]
}