Quasiparticles transport and charge determination in a nanowire Josephson junction