Is hidden replica treated as a normal replica?

You want an odd number of voting members to ensure you have a majority during an election.

Since you may configure your hidden node to be non-voting you should be fine.

If you really want your hidden node to vote during an election, it would be best to have an arbiter.

Depending of the usage for your hidden member, you might be interested in the following which I was made aware recently (thank you @chris):

3 Likes