in reply to Re^2: grep command
in thread grep command

perl -lne '$ct += s/hello//g; }{print $ct' /tmp/hh

;-)
--shmem