mode 2 count in working