Add countable interface and isEmpty method to MetadataBag, fixes #367

not sure if it is a good idea to provide this method. count can be used for the same thing from a caller point of view.

IMO you should prefer the slimmer api.