log file checking

Hi,

I want to write a script which will count the occurence of several different strings in a log file? Can anyone help me with this? Thanks in advance!

see the -c option of grep.