added qual checking info for misthcaes on maptoreferecne coutn