automatic light count.