A bit of a workaround, but:<br>
<br>
you could use a global variable of type keyword, then fill that in a data assignment with some unique value of the documents in the list by using the same query logic that the list uses, for instance, fill it with the DocIDs.<br>
Then use the count property of that keyword variable to get the number of entries.<br>
<br>
However, this will be a moment-in-time count, so if you need the count in multiple stages of your workflow, you may need to do the same thing each time, and you will need to update workflow whenever you change the query logic in the list.<br>