Empyra.Com Interview Question

Count number of character with white space in string without using builtin function