Someone doubts whether three or four rakahs have been performed. For a first unusual occurrence, the text gives the ruling of restarting.
For recurrent doubt, follow a genuine stronger judgment; if four is more likely, count four. Without a stronger judgment, three is the certain minimum and the prayer is completed accordingly.