Print count instead of the contents of the list.