What is the case function of «راحةٍ» in «قدر راحة»?

At-Tamyīz: Clarifying Quantities and Sentence Relations