A counter counts {HEAD ~ the number} of {TAIL ~ times} a data image pattern is detected and generates a repeat count 
of
A counter counts { HEAD ~ the number } of { TAIL ~ times } a data image pattern is detected and generates a repeat count
OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD REL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH