Compass Limitations

I tried to run basic command like distinct on Compass UI and looks like it does not support this.
Is there another way to run read only commands like ‘distinct’ to run on Compass ?