refactor adjacent counter methods