Studies related to the design and synthesis of a molecular octal counter