show credit count in hidden field