Python Count Items In Set Theory