add count in log