Added files count to CLI report summary
Updated API docs in comments
Fixed missing warnings related to unused redefined variables when check_redefined = false