add record counter