Counting of scanners without keys and idea for selectKey decoupling