Implemented image count refresh