They are proportional to each other. Intensity is given in units of power per area, so to convert a photon count, you need to know the wavelenght of the emitted light (to calculate the energy of the photons), the time in which the photons were collected, and the area over which the photons were emitted. However, if you don't necessarily care about the units, you can just use the photon counts.