Vision Counting Machines