add count method to domain object
fix merge conflict