According to the equation E = n * h * nuE=n⋅h⋅ν (energy = number of photons times Planck's constant times the frequency), if you divide the energy by Planck's constant, you should get photons per second.
E/h = n * nuEh=n⋅ν ->→ the term n * nun⋅ν should have units of photons/second.