add static metrics to count things like number of hoisted accesses, etc