Electron doping in the honeycomb bilayer superconductors (Zr, Hf)NCl