The labor is billed at the full rate, plus there’s a markup on the engine itself. To do the job (to replace the engine) right, there will be additional parts sales for belts, hoses, antifreeze, thermostat, spark plugs, motor mounts, clutch and other parts.