Grep linhas vazias em um arquivo

grep -c '^$' myfile.txt
Smoggy Seal