Wise interview question

About Circuit Breaker that count failures in time based window