Measure nightsky with TSL237

Starting from scratch;

This codes fetches just the freq, nothing else...

#include <FreqCounter.h>


void setup() {
  Serial.begin(57600);                    // connect to the serial port
  Serial.println("Frequency Counter");
  
}

long int frq;
void loop() {

 FreqCounter::f_comp= 8;             // Set compensation to 12
 FreqCounter::start(1000);            // Start counting with gatetime of 100ms // CHANGED TO 1000/
 while (FreqCounter::f_ready == 0)         // wait until counter ready
 
 frq=FreqCounter::f_freq;            // read result
 Serial.println(frq);                // print result
 delay(20);
}

and this is the serial monitor:

;1Frequency Counter
0
39313
39342
39573
39757
39835
39816
38690
31962
8259
7940
7956
7564
27334
5070
966
273
39
31
31
30
30
31
1087
32437
34741

where 30-ish is almost completely black.

The Irradiance responsivity for my sensor is 2.3 kHz/(uW/cm2)
and the integrated photodiode active area is 0.92 mm2 in size

How should the formula look for converting my hz to mW/cm2?

And what gatetime should i use? Martin Nawrath sais that "The Gate Time for the counting period can be chosen in the start() function where values of 10, 100 or 1000 ms are practicable for a resolution of 100, 10 and 1 Hz but any value can be used. The internal resolution of the gatetime is 2 ms so that the time can be varied in the increment of 2."

Does that means that if i use a gatetime of 1000ms, i will be viewing my sensor in Hz, and if i use the 100ms that is used in the freqcountersketch, i will be viewing the sensor in Hz/10?