'Counting Circuits', lecture and working papers