Add countable interface and isEmpty method to MetadataBag, fixes #367
Merge pull request #390 from romainneutron/fix-367

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