Writing Sql Command Count Distinct In Pyspark Sql