Add counter operations to client