Counting images that come in