The "three times" at the end was left intentionally ambiguous by the author, but a bit of background knowledge can't hurt.
The "traditional" way to pray at a Shinto shrine is to bow three times, clap three times, then bow once more (though this varies by type of shrine, era, etc). This is...