delete old count method