He can assume that the number of adenine is always equal to the number of thymine because of the base pair rule. Adenine matches with the other purine pair, so it matches with thymine because it is the thing that t can have a hydrogen bond with. Hope it helps.