cqlsgh -e "paging 5000; select distinct surname from people;" select distinct count(surname) from people; TODO: example with Spark