If exactly one bed has corner posts.
return bed ;return corner posts ;return #1 that has #2 ;return the  number of  #3 ;return if  #4 is equal to  one
['select', 'select', 'filter', 'aggregate', 'boolean']