log on error saving counts