$ ldapsearch -x c=uk | grep -c ^uid: 114But, RFC 4519, §2.2 reads: “The 'c' ('countryName' in X.500) attribute type contains a two-letter ISO 3166 [ISO3166] country code.”
The two-letter ISO 3166 country code for United Kingdom of Great Britain and Northern Ireland is, somewhat confusingly, “GB”, not “UK”.
-- Jakub Wilk