Ezra was written about 538-516 B.C where Nehemiah was written around 444-425 B.C Therefore, the dates of writing are different and the statistical differences can easily be accounted for by considering that during the difference of years, people died, families grew, etc.