daemon: update image_count