add count as a scan mode option