Original: The locomotive had four main engines.
Simplified: The locomotive had six diesel engines, four of them used for traction.