From an esoteric Buddhist text translated during the T'ang dynasty: "...at the seasore, or on the bank of a river, one takes an 'image seal with the form of a pagoda' and presses it in the sand once for each time one makes an invocation. After this has been done 600,000 times, one will receive a vision of (there follows in the translation here the name of a somewhat obscure bodhisattva)...and everything that one desires will come to pass."
wish.html/cisr/oliver@cisr.bc.ca