Quantitative questions about my data

Hello!

I’m trying to develop a question answering application based on my database.

But the problem is:

The database I intend to use is quite large, and my need to use it would be to ask quantitative or metric questions about my data. For example: “How many documents were published this year?”.

But I still haven’t found a model that answers this kind of problem, identify and count the documents that satisfy the question.

Would there be any solution in Pinecone for this kind of problem?