Show sample length in terms of steps

I wish there was a way to show sample length in terms number of steps. Maybe something that says playing this sample as C5 at the current tempo will take x steps.