Fix NaN couting in bincount when weights are supplied
Fix NaN couting in bincount when weights are supplied

Compute a 'weighted count' of NaNs if weights vector is supplied

cheral/orange3,cheral/orange3,cheral/orange3,cheral/orange3,cheral/orange3,cheral/orange3