guessing

played with my friends father and hes been playing since a kid, he called out what dominoes me and my partner had after like 2/3 turns can anyone explain how he did that?