There were 3 people — grandfather, father, son
Grandfather (father + son) + Father (father + son) + Son = 3 people. The grandfather is both a father AND a son. Not 4 people.