Compute accuracy for different number of predictions