Counting sensors