handling none case during db export count reporting