I described this a while ago, but I don't think I ever actually got around to uploading it. It works by counting the number of 1's in a binary number.
Here's a cool video explaining it:
And a picture of the device:
Here's a cool video explaining it:
And a picture of the device: