$photon_total are the total photons to be simulated. For example
$photon_total N_photons
For example:
$photon_total 100000
The $photon total setting in GUI interface is here Press Ray Tracing and fill in the field for the Photon number as needed!