Adjusted to return value order of lex_smaller_count
Added lex_count method in wt_int.hpp