Garmin Interview Question

Create a function that can count the number of characters in a string (without using the length function).