Write a one-liner that counts capital letters in a file, even if the file doesn't fit in memory.

Technical