'Test count works with None()'

def test_count_and_none(self):

    class MyDoc(Document, ):
        pass
    MyDoc.drop_collection()
    for i in range(0, 10):
        MyDoc().save()
    self.assertEqual(MyDoc.objects.count(), 10)
    self.assertEqual(MyDoc.objects.none().count(), 0)
