not counting nulls fix