The counter was increased twice because after your turn
the page is visited.
Also remember to use self.count and not count
The bug was due to /favicon.ico
debugging statement included in lib/rps.rb