How to Get Python Set Length and Other Information