Create a webpage that takes in a string and returns the count of all the words in the string.
Input: This is a sentence with no repeating words.
Output: {"This":1, "is":1, "a":1, "sentence":1, "with":1, "no":1, "repeating":1, "words":1}
Input: This this this this that.
Output: {"This":1, "this":3, "that":1}