Fix some bugs, implement list size for word counting, etc