tripCount increment only if actually open circuit

Fix #32
Merge pull request #33 from ggiamarchi/master

tripCount increments only if actually open circuit