added provider label method and made count methods public