Add method reset_typo_count to private