(max) complex cascading counter