Grep and return number of matching line(e.g. 'bbo')

grep -c bbo filename
click the source code to copy