Word count algorithm javascript. The most effective way to do this is by splitt...