You are going to need to solve this most likely with session relevance, either with the REST API, or a Console Dashboard, or Web Reports, or similar.
It would be helpful if you could provide a mock up of what you want the final result to look like with fake examples.
- Do you just want the number of computers?
- or the number of patches?
- or the number of computer times the number of patches?
- Or do you want a table view of ???
- How do you define a “patch”?
There are many existing web reports around patch reporting. There is also an add on compliance product that may help answer this question.
This console dashboard is kind of the opposite of what you are asking, it gives you only baselines with failures and shows you the components that have failures: https://github.com/jgstew/bigfix-content/blob/master/dashboards/BaselineStatusResults.ojo
This is probably not what you want, but it gives you a number representing the number of actions * number of computers targeted:
number of results of bes actions
You could filter this down to only the results that were “successful” and so on.