According to the Vatican:

Attending today’s funeral Mass for the Holy Father were reigning monarchs of 10 countries, 57 heads of State, 3 hereditary princes, 17 heads of government, the heads of 3 international organizations and representatives from 10 others, 3 spouses of heads of State, 8 vice heads of State, 6 vice prime ministers, 4 presidents of parliaments, 12 foreign ministers, 13 ministers, and ambassadors from 24 countries.
Religious delegations, numbering 140 people, included representatives from the Orthodox Church, Oriental Orthodox Churches, Churches and ecclesial communions of the West, international Christian organizations, the National Association of Evangelicals, representatives of Judaism, Islam and delegations from non-Christian religions.