question: If all of the sailboats pictured a currently moored or a at a dock.
#1 return sailboats 
#2 return #1 that are currently moored 
#3 return dock 
#4 return #1 that are at #3 
#5 return #2 , #4 
#6 return number of  #1 
#7 return number of  #5 
#8 return if  #7 is equal to  #6