Nomenclature Precedence Order for Unsaturation and Hydrocarbon Chain
Unsaturated bonds take precedence over "branches". Consider these bonds as functional groups and name the compound, it will make you number carbons correctly.

Also the compound you mentioned above can't possibly exist as it has 5 bonds on $\ce{C_3}$.