introduce count set, m3+ changes
introduce count set - more changes