In this paper, we consider a class of affine Anosov mappings with a quasi-periodic forcing and show that there is a unique positive integer m, which only depends on the system, such that the exponential growth rate of the number of invariant tori of degree m is equal to the topological entropy.