in reply to best way to keep a simple count?
perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"