Make counts for scans