Darren Lehmann, the former Australia coach, has signed a contract extension with English county Northamptonshire tying himself to the club until 2029.