In astronomical observations, signals observed from the distant stars are generally weak. If the photon detector receives a total of 3.15 × 10–18 J from the radiations of 600 nm, calculate the number of photons received by the detector.