@java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;

        size = 0;
        if (((bitField0_ & 0x00000001) != 0)) {
          size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity());
        }
        if (count_ != 0) {
          size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, count_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }
<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