Section 77(1)

77. (1) If the election petition is confined to the question of
validity of votes cast or counting, the District Judge shall, after such
scrutiny and computation of votes as may be deemed necessary, declare
the result.