将给定的文本按单词计数。
文本：Python is a cool programming language. It is used for web development, machine learning, and more.
Python: 1
is: 1
a: 1
cool: 1
programming: 1
language: 1
It: 1
used: 1
for: 1
web: 1
development: 1
machine: 1
learning: 1
and: 1
more: 1.