How many laws were there in Ancient Egypt?

It is not known has many laws there were for the Ancient Egyptians. However, it is believed that the law was codified in eight books.