According to Sunni law, all grandsons will inherit from the estate of their grandparent as per capita: which implies that it will not be taken into account how many out of those grandsons have descended from a particular predeceased heir.