Conversions: support "out_unit in count in_unit" style queries.

Expansion of the 'in hack' to figure out which is in which.

Fixes #673.

cc: @mintsoft