Counting objects in an image is the job of computer vision. There are many Python computer vision libraries available for this task. However, this article describes a very simple approach...