BASH - Files - Count the lines in a file that have a specific string

awk '/string_to_find/{n++}; END {print n+0}' filename