Variant of a BST that returns how many nodes in tree there are that have numbers less than or equal to the input in O(height of tree).