Quick counting script. Probably never use again.