If the object is negatively charged it means it has gained electron so negatively charged object has more number of electron than proton
If the object is positively charged it means it has lost electron so positively charged object has more number of proton than electron