`datapoint_click_totals.get(pk, 0) or 0` - Is it possible that `.get(pk, 0)` returns None or something?