public Optional<Map<String, Integer>> getCounts() {
    return counts;
  }
Returns the number of imported items or an empty optional if no mapping is present.
portability-spi-transfer/src/main/java/org/datatransferproject/spi/transfer/provider/ImportResult.java