A Rhayader farmer has helped raise £24,000 for charity after breaking British shearing records over the summer.