question: If there is exactly one sleeping dog wearing a collar.
#1 return dogs 
#2 return collar 
#3 return #1 wearing #2 
#4 return #3 that are  sleeping 
#5 return number of #4 
#6 return if  #5 is  equal to one