grep is your tool for this one.
Code:
grep -i "bla" logfile.log
You can pass it plenty of switches, for example -i means case insensitive. You can even pipe the results through further grep statements:
Code:
grep -i "bla" logfile.log | grep -v "info" | wc -l
Here you are grepping for bla (case insensitive), then removing any results that have "info" in them (that's what the -v switch is for), and finally performing a line count on the result.
That should get you going, but check out the man pages, and good luck!