The mass number of an element is equal to:

a
the number of protons and electrons
b
the number of protons
c
the number of electrons
d
the number of protons and neutrons

d. the number of protons and neutrons