Large scale magnetic fields and the number of cosmic ray sources above the Greisen-Zatsepin-Kuzmin cutoff