converted None to 0 in stat totals