add statistics about certificate use for --check option