Large N limit of 2D Yang-Mills theory and instanton counting