Eurofins Interview Question

Write a method to count the number of characters in a string