replaced image count