Added support to APPROXIMATEDISTINCTCOUNT and minor fix

Added support to the APPROXIMATEDISTINCTCOUNT function.
Fixed an issue in string literals containing “\” character.