supports count method