Return “0 seconds” if we have no time.
Honor server configured maximum mode count.