kSQL 

Counting Characters in a String

Neat trick that Lee Ervin showed me ...