Refactor: use LevelValue for conole intend count
Test