Intelligent Vision Counting Machine