How To Count Blocks Of Code In Python