Adding API call to count up namespace contents