What are some alternatives to writing
len(mylist3 & mylist4)
within this code?
mylist1 = [1,2,3]
mylist2 = [4,5,6]
mylist3 = set(mylist1)
mylist4 = set(mylist2)
lenresult = len(mylist3 & mylist4)
A module i'm importing is unable to use the count() that gets called with the ' & ' operator.