Method for counting characters in string? count("a", "batman") vs. count('a', "batman")

Thanks Leandro. Indeed it seems like a quick fix. I tested pretty much that exact code after posting.

It seems like such an obvious thing that I figured there would have been some discussion about and possibly a reason for not implementing it.