Add support for aliased COUNT and CAST statements.
Merge pull request #17 from temochka/aliased-functions-fix

Add support for aliased COUNT and CAST statements.