Fixed element counting.