Updated count judgments function to using API
Added description of query parameters