feature #1827: Fix total image counters