Hi there @profgrammer
Appreciate you joining us here in the Community and for posing your question! I’m curious of a couple things here.
Are you willing to share the query you’re working with, currently?
The query will help, but I’m wondering if you’re using any kind of pagination. If not, this may be your solution:
While general cursor based pagination is great, I’m wondering about your first statement:
I’d like to get the total number of answered/unanswered discussions
…where it sounds like you’re querying for details and are retrieving a full list of returned individual Discussions, but you should be able to return a
totalCount value within your query, if a single number is what you’re after.
So if it’s pagination to retrieve batches of results, or if it’s using
totalCount to get the number, these should be your considerations.
If I’ve misunderstood, let us know!