[PATCH] nwfilter: fix crash when counting number of network filters