AP McCoy makes history by recording 4,000th winner at Towcester