Your problem statement is not specific enough to answer your question. You are solving for the Fermi energy in the conduction band of what? You know the number of electrons because they equal the number of protons in your system, unless it's charged.