Add stats for error in hist

@cgordon