Posted By:
Anthony S.I think I figured out the discrepancy. Baseball-Reference only counted home runs hit in FULL-SEASONS after the player turned 40.
Bonds turned 40 in July of 2004 and hit approximately 20 homers that year after his birthday. So:
2004 after turning 40: @20
2005: 5
2006: 26
2007: 28