Powershell Count Unique Values In Sql