Fetch count values from the headers instead of the json