add count interface