Is there a legally mandated filing fee and/or deposit?

Cook Islands
CookIslands Electoral Act 2004, Part 8 Disputed Elections, 92.
(2) Every petition shall be accompanied by a filing fee of $1,000.
79. Recount on application by candidate - (1) Any candidatefor any constituency may, within three working days after the publicdeclaration made under section 78, apply to the Court for a recount of thevotes.
(2) Every application under subsection (1) shall be accompanied by a deposit of$500.