There were four vehicles travelling in front of me and three behind, but when it was all said and done, there were only two vehicles left.
Впереди меня шли четыре машины и сзади три, в итоге машин осталось только две.