Arsenal manager Arsene Wenger admits he has been lucky to have the opportunity to manage at the London club for 22 years as his time at the Emirates comes to an end.