How do you determine the oxidation number for metal?