Create count-the-number-of-occurrences-of-a-char-in-mysql.sql

Reference: http://bookofzeus.com/articles/count-the-number-of-occurrences-of-a-char-in-mysql/