Fixed MHOD: time_in_states is now calculated based on the length of the state history
Fixed MHOD: time_in_states is now calculated based on the length of the state history

beloglazov/openstack-neat,stackforge/terracotta,stackforge/terracotta,raphapr/openstack-neat,beloglazov/openstack-neat,fr34k8/openstack-neat,raphapr/openstack-neat,fr34k8/openstack-neat