add count and list method