Non-aqueous determination of inorganic salts