Counting fence