If we use defaultdicts everywhere, checking are_debug_statistics_enabled seems a logical replacement for the check in dict_inc.

As for why I am using this check here, I wrote it to be similar to the python code a few lines lower where it checks if a statistics parameter is None, using the actual 'are...enabled' check seemed leaner though.