String find and count

Added the string version of find for better string traversal. Also added
the count functions to count the number of characters or substring
instances.