McGregor had 27 fights in total. He won 22 and lost 5.