The county board of election commissioners shall canvass the returns and examine the ballots when demanded. It may hear testimony, if offered, of fraudulent practices and illegal votes, may cast out illegal votes and fraudulent returns, may find the true and legal vote cast for each candidate, and shall certify the result not sooner than forty-eight (48) hours and not later than ten (10) days after the primary.