I have a Workflow where I want to calculate Inventory Accuracy → in order to do this, I need to read all the lines in the CountResultsHandling → Reference_CountingReportLine for the current year.

When I inspect the WF, I get the below error:
The result set size exceeds either the row limit or the character limit for the Query Collection.
What’s the max rows allowed in the Query Collection? Any advice how I could workaround this limitation?
Of course, I could further filter the Colelction for a smaller time period, but my customer wants the WF to take into account the data for the full current year.