You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: diff.go
    path of file: ./repos/teller/vendor/github.com/gopasspw/gopass/internal/diff
    
    the code of the file until where you have to start completion: package diff

// Stat returnes the number of items added to and removed from the first to
// the second list.
func Stat[K comparable](l, r []K) (int, int) {
	added, removed := List(l, r)

	return len(added), len
    
func List[K comparable](l, r []K) ([]K, []K) {
	ml := listToMap(l)
	mr := listToMap(r)

	var added []K

	for k := range mr {
		if _, found := ml[k]; !found {
			added = append(added, k)
		}
	}

	var removed []K

	for k := range ml {
		if _, found := mr[k]; !found {
			removed = append(removed, k)
		}
	}

	return added, removed
}