Issue 6: Support keystats command.