Zero modes of the vortex-fermion system