Answer
The sentence "20 weeks" is a summary of a sentence from the source: "The Court sentenced the defendant to 20 weeks of judicial flogging." The source also provides information about the duration of the sentence, saying that "the flogging was to be carried out over a period of 20 weeks."