Assert counts of images in DB