The number of neutrons in an atom can be calculated by subtracting the atomic number from the mass number. The atomic number of lithium is 3, and the mass number is 7. Therefore, the number of neutrons in the nucleus of an atom of lithium is 7 - 3 = 4.