Measurement of lead-target neutrino interactions using the whole T2K near detector