Added total point counter

Fixes #40