counter sensor proximity