created num_possibilities method to avoid confusion