A state variable for crumpled thin sheets