return 0 if NaN to blank out tallies