adding uniqueCount extension