Add --count/-c to count matches. This also counts on streams, but it's not very useful yet since lines with no matches don't print a zero. Anyway, it fixes #476.
Merge pull request #526 from ggreer/count

Add --count