Well usually, if the molecule is written as 5-ethyl-4-methyl-1-heptane then the 5, 4, and 1 represent where side chains are...which cause for the neccessity of what the r-groups are; but, if it is 5 ethyl 4 methyl 1 heptane, then it may be saying that the 5, 4, and 1 are needed to "become" an actual molecule and you would multiply the carbons. I am not sure what the question is asking or how it is written exactly.
If it was 5 ethyl...etc, then it would be 21 carbons. But, if it is 5-ethyl...etc, then we would need to know what the side chain (r-groups) are to find the carbon number.