added initial code for getting distinct values count inside of the executor