Added support for $numberLong

Refs: JAVA-1272 & JAVA-1280