Just look at the guage on the dash lol, i know it isnt the most exact thing in the world but at least it gives you a rough idea of how much you have left.

due to the surge effect, a sensor would make no sense in a race car.
It can just do (like F1 cars) some arithmetic on how much fuel has been injected compared to how much was in the tank 
)