The error that you are seeing, *Incorrect number of thread records*, means that there is a problem/corruption in the [HFS catalog][1].


> **The Catalog File** is another B-tree that contains records for all the
> files and directories stored in the volume. It stores four types of
> records. Each file consists of a File Thread Record and a File Record
> while each directory consists of a Directory Thread Record and a
> Directory Record. Files and directories in the Catalog File are
> located by their unique Catalog Node ID (or CNID). 
>
> **A File Thread Record** stores just the name of the file and the CNID of its parent directory.

<br>

### The Fix...

First and foremost.... you do have a (Time Machine) backup, right?

Next, (personally) I wouldn't repair this HDD.  I would get an SSD drive (see this [answer][2] for reference), do a clean install of macOS and then migrate your data back over.

Can you repair it?  It's possible.  It's unlikely that Disk Utility will have the capability of fixing it so you will need something like [DiskDrill][3] or [DiskWarrior][4].  Even still, you are fixing a 6+ year old drive which is now outside it's useful life.

If the drive is still good (physically) but you can't repair the volume, you could format and reinstall macOS, but if this is the route you have to take, I would go with an SSD upgrade; thus my initial recommendation.


  [1]: https://en.wikipedia.org/wiki/Hierarchical_File_System
  [2]: https://apple.stackexchange.com/a/229377/119271
  [3]: https://www.cleverfiles.com/
  [4]: https://alsoft.com/DiskWarrior/