@java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj
            instanceof
            com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount)) {
          return super.equals(obj);
        }
        com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount other =
            (com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount) obj;

        if (hasEntity() != other.hasEntity()) return false;
        if (hasEntity()) {
          if (!getEntity().equals(other.getEntity())) return false;
        }
        if (getCount() != other.getCount()) return false;
        if (!getUnknownFields().equals(other.getUnknownFields())) return false;
        return true;
      }
<pre>
Count of the object.
</pre>

<code>int32 count = 2;</code>

@return The count.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/OccupancyCountingPredictionResult.java