code: func Find(path string) (int64, error) {
  	if path == "" {
  		return 0, fmt.Errorf("invalid directory")
  	}
  	var counter byteCounter
  	var stderr bytes.Buffer
  	findCmd := exec.Command("find", path, "-xdev", "-printf", ".")
  	findCmd.Stdout, findCmd.Stderr = &counter, &stderr
  	if err := findCmd.Start(); err != nil {
  		return 0, fmt.Errorf("failed to exec cmd %v - %v; stderr: %v", findCmd.Args, err, stderr.String())
  	}
  	if err := findCmd.Wait(); err != nil {
  		return 0, fmt.Errorf("cmd %v failed. stderr: %s; err: %v", findCmd.Args, stderr.String(), err)
  	}
  	return counter.bytesWritten, nil
  }
docs: // Find uses the equivalent of the command `find <path> -dev -printf '.' | wc -c` to count files and directories.
  // While this is not an exact measure of inodes used, it is a very good approximation.