Counting the value of commodities at every stage of production more than one time is called double counting.
It can be avoided by
a) taking value-added method in the calculation of the national income.
b) By taking the value of final commodity only while calculating N.I