Merge "Implement stats logging in LMKD."