You should get into baking if you want to see where precision matters and how it can be expressed in cooking.
Generally, things you cook on the stovetop don't need strict quantitative controls. Exercise your own judgement and experience- you can understand how the onion will taste based on how it looks. Mix it, heat it, season it, eat it.