Make StatementList Comparable and Countable