The paper presents a mathematical model of queueing tandem M|GI|∞ → GI|∞ with feedback. The service times at the first stage are independent and identically distributed (i.i.d.) with an arbitrary distribution function B1(x). Service times at the second stage are i.i.d. with an arbitrary distribution function B2(x). The problem is to determine the probability distribution of the number of repeated customers (r-flow) during fixed time period.