On the number of states bound by one‐dimensional finite periodic potentials