The oil capacity for a 1990 Subaru Legacy wagon depends on the engine. There were several engine options available that year. To know for sure, you need to check your owner's manual or look for a sticker under the hood (often near the oil filler cap).
Without knowing the specific engine, I can't give you a precise number.