Hi Tim,
Thanks for reaching out!
Would you be able to share the failures you have been getting anyway? Just to help us have full context.
At this moment there isn't a way to specify only a general number without calling out the specific accounts/ids in the fetch query.
Not sure your exact use case, but to try to get just a number of them, you could look into pulling everything to store in mongo, and set a custom limit value for accounts (this might require additional configuration). No promises, but if you're curious that's a place you could start.
Cheers,
The Cloud Carbon Footprint Team at Thoughtworks