Answer:
if you are talking about the no that did it with the person directly,I think it would still be 12 since the partners the person had s** with were the only people the person p was exposed to. the other partners of the main 12 are not involved in s**. but if you are talking internally or indirectly, then I would say 168 since the main 12 has 1 partner each excluding p and each of the 1 partner has 12 partners each making 14 × 12 = 168