Python Counting Elements And Atoms