The group consists of a grandfather, his son, and his grandson. That makes three people: the grandfather (a father), the father (also a son), and the grandson (a son).
So technically, there are two fathers and two sons, but only three people, which allows them to eat one egg each.