frontier count working