diff --stat: move the "total count" logic to the last loop