Move around User::getEditCount() code.