If you can cross the road then you can use it along with either a laser or a modulated IR LED. You can modulate at something like 38kHz (using a 555 timer chip, or you can hand build a bistable-multivibrator circuit - aka oscillator) and there are photo receivers built to pick up this kind of signal (used for TV remote controls, fairly cheap) which incorporate a phototransistor + 38kHz bandpass filter. 38kHz works particularly well for transmitting infrared signals for some reason.
Alternatively if you are set on the photoresistor, you could apply a filter to the output of your photoresistor to filter out constant sources, like sunlight. Ideally you would use a band-pass filter on the photoresistors output to get just the modulated signal.
That way as soon as something breaks the signal beam it knows, and it not overwhelmed by constant sunlight or just any other sources (car lights that are not crossing beam for example). This broken-signal can be amplified + inverted using an inverting amplifier, and drive an LED. This will light up each time a car passes.
If you need to count the number digitally, you could use the same signal you would use to drive the LED, and put it into a micro-controller. This could be used to count the number of times it goes off over a period of days.
This was very similar to a college project we had, except we could not put anything on the other side of the road. So instead we built IR transmitter/receiver combination to bounce the IR off passing cars. We tested with pieces of metal plate and some metal chair seats, and it worked up to like 20 feet.
However car paint is very different from car metal as we soon found out, and car paint absorbs almost all IR (no detection even at ridiculously close range). So we instead had to use computer vision + beagleboard to solve the problem.