Virtusa Interview Question

find the lenght of string