Nickel has 28 electrons, its electron configuration is:
![1s^22s^22p^63s^23p^64s^23d^8](https://img.qammunity.org/2023/formulas/chemistry/college/nqekfsbhtokly4ab6a49no46cuw6w522pz.png)
Ni2+ has lost 2 electrons, which means that the resulting configuration would be:
![1s^22s^22p^63s^23p^64s^23d^6](https://img.qammunity.org/2023/formulas/physics/college/dlvlcb22w9hkw41hqhwz6uwgiqpbwoa20d.png)
Nevertheless, since 4s electrons are further from the nucleus, they are lost resulting in a more stable ion, then, the actual configuration of Ni2+ is:
![1s^22s^22p^63s^23p^63d^8](https://img.qammunity.org/2023/formulas/chemistry/college/1dtzcxjruuwylb0tmjcaq3kb7oaeympi9a.png)
It means that this ion has 16 valence electrons.