Predict number of instances