removed namespace count method