fix counting number of keys and operations done per worker