Pregunta de entrevista de Salesforce

Explain how you would implement "Word Count".