A photon counting apparatus includes a radiation detector (100) and signal conditioning circuitry (102). A photon rate counter (106) produces a count value indicative of a total number of photons received by the detector (100). One or more photon counters (1101+N) produce count values indicative of photons having varying energy characteristics. The counters (1101+n) disregard pileup pulses.