use list of join types instead of count