add count feature