GREP menghitung kata

grep -o -w 'word' /path/to/file/ | wc -w
Dead Dotterel