Grep leere Zeilen in einer Datei

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