Add counts record and diff output