Parse container size to amount and unit