Track consumed capacity for scans and queries