On determining the fraction of metastable ions produced by direct ionization