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