well, 1 singularity for a level 0 magnet, and you need 8 level 8, which each require 2 of the previous level
1 level 8, 2 level 7, 4 level 6, 8 level 5, 16 level 4, 32 level 3, 64 level 2, 128 level 1, and 256 level 0 magnets. And you need 8 level 8 magnets. You will need 2048 singularities...