length of prediction array