My man!
the technical name is Counterhead which is part of the levelwind assembly that does basically what you described. It feeds & counts the linear ft of tubing that goes down the hole and also straightens it.. then on the up winds it back onto the reel
Here is an entire assembly of the reel with the counterhead and the levelwind.