If I have a row of text that looks like the row below and I only in this case want to add up the b's, there my be only 1 b in the cell or 3 b's but either way I only want to total up the b's, how do I do this? If I knew how to assign a value such as b=1, bb=2, bbb=3 and then only count the b text in the row that would also work.

b
bbb
aa
c
bbb
bb
d
Total b's =9