Iran says officials from more than 100 countries will attend the funeral of late Supreme Leader Ayatollah Ali Khamenei.