Added support for counted sequences. Cleaner sphere output.