[backport] fix missing statistic collection at put/get/remove operations in client.