Scintillator-based Photon Counting Detector: is it feasible?