In what ways can the process of counting votes in elections be safeguarded against alleged interference?

There was a delay in counting votes in the Haryana Rajya Sabha poll, with Congress alleging interference. I want to explore what best practices can be adopted to ensure transparency and trust in the electoral process.