From the above figure, it is clear that there are 5 primary carbons in the compound.
In the following compound, the number of primary carbon atoms are:
CH3−CH3|C|CH3−CH|CH3−CH3