Cognizant Interview Question

Write Python code for finding the length of a sentence without spaces.