Count bot responses query not working

I have a published bot that had a number of sessions, so I know there are questions and answers. I tried this query to count bot answers but it always comes up 0. How can that be?

ca t.e.answerText :
t.e.pathType==“output”,
exists t.e.answerText

Found the query here:

Hi Clara, This is well-spotted. I had a look at the query, and saw that it is indeed not working. This particular query is outdated, as some of the engine tags changed. The correct query for this is:

ca t.e.answerText :
t.e.type==“response”,
exists t.e.answerText

We are in the process of reviewing and updating all of the TQL documentation, so in the future, you should not run into problems like this again. We will also update the page with this new query in the next publish.

Hope this helped!