The seven heavens is an extension of the seven named heavens of Judaism. Islam also has seven named heavens.
There is a reference to a third heaven in the Bible and a reference of ten heavens in a book that was not included by the Council of Nicaea.