add a method to get measure (~volume) of a state space