improves array metrics and element count support