Daz1712:
LDR are not Logic they are Analogue.
Hooking one up and reading it as a button will give spurious readings (hence the multi count i believe).
The pin hysteresis will prevent minor LDR fluctuations from changing the binary state.
See LDR response time, that's as fast as it can change which is pretty slow except compared to humans.