code: public SDVariable matchConditionCount(String name, SDVariable in, Condition condition, boolean keepDim, int... dimensions) {
          SDVariable ret = f().matchConditionCount(in, condition, keepDim, dimensions);
          return updateVariableNameAndReference(ret, name);
      }
docs: Returns a count of the number of elements that satisfy the condition (for each slice along the specified dimensions)<br>
  Note that if keepDims = true, the output variable has the same rank as the input variable,
  with the reduced dimensions having size 1. This can be useful for later broadcast operations (such as subtracting
  the mean along a dimension).<br>
  Example: if input has shape [a,b,c] and dimensions=[1] then output has shape:
  keepDims = true: [a,1,c]<br>
  keepDims = false: [a,c]
  
  @param name       Name of the output variable
  @param in         Input variable
  @param condition  Condition
  @param keepDim    If true: keep the dimensions that are reduced on (as size 1). False: remove the reduction dimensions
  @param dimensions Dimensions to reduce over. If dimensions are not specified, full array reduction is performed
  @return Number of elements that the condition is satisfied for