Small measurement fix + also measure array write counts