Roger. Thanks for describing the issues. Btw: http://kylelutz.blogspot.kr/2011/02/counting-heteroatoms-in-python.html