finish count sum distinct selection projection join implements