It does depend on the electrons, which in this case will require 3e- for the full reduction of the nitro group and 1e- for the reduction of the ketone. However it should be noted that for the reduction of the ketone group ethanoic acid in place of HCl is the most common solvent for that reduction.