Added documentation
1 bug fix for group merging
Started adding support for distinct count