ctest_memcheck: Add DEFECT_COUNT option to capture defect count

Status Job ID Name Coverage
  External
passed kwrobot-branch-check