Adding CountNotAssigned method.