Why when counting CO2 emissions for petrol cars people only count what comes out of exhaust pipe and not whole petrol industry?
Because for electric cars you counted almost complete process for petrol you missed a lot.
Also people (pushed by oil lobby??) not only forget whole pipeline (pun intended) of petrol industry, but are very concerned that couple hundred kg of batteries is worse than tens of thousands of liters of petrol burned over lifetime of a vehicle.