Electron spin resonance spectroscopy of small ensemble paramagnetic spins using a single nitrogen-vacancy center in diamond