An ensemble-based method to assess the quality of a sample of nanocrystals as single photon emitters