Discover the answers you need at Westonci.ca, a dynamic Q&A platform where knowledge is shared freely by a community of experts. Explore in-depth answers to your questions from a knowledgeable community of experts across different fields. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas. ex: if the input is: listen, mr. jones, calm down. the output is: 21