Sam goes to school to play football. Using character offset for 'school' as 12-17, and 'football' as 27-34 in the above sentence, I want to reformat the above sentence as, 4 7 Sam goes to **school** to play **football**. where 4 and 7 are the word count of 'school' and 'football' from start of the sentence.