Handle Assert.Count for missing elements correctly. Fixes #110