Actually, it those that count the vote decide who wins, and the UK government is doing the counting.
Actually, the local Returning Officer manually counts the ballots in a large room for each constituency.