public int getCountsCount() {
          if (countsBuilder_ == null) {
            return counts_.size();
          } else {
            return countsBuilder_.getCount();
          }
        }
<pre>
Counts in the zone.
</pre>

<code>
repeated .google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount counts = 2;
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/OccupancyCountingPredictionResult.java