You probably want countNumberUsage. Check out this post (you can still use numericValue instead of evaluateAt):
countNumberUsage