public static Integer zpvc(Number... values){
  if (values == null || values.length == 0) {
    throw new IllegalArgumentException("Argument is null or empty");
  }
  int count=0;
  for (  Number value : values) {
    if (value != null && value.doubleValue() >= 0d) {
      count++;
    }
  }
  return count;
}

public static Integer zpvc ( Number ... values ) { if ( values == null || values . length == 0 ) { throw new IllegalArgumentException ( "Argument is null or empty" ) ; } int count = 0 ; for ( Number value : values ) { if ( value != null && value . doubleValue ( ) >= 0d ) { count ++ ; } } return count ; }
function which will return the count of zero or positive values among the given argument values .
