count in the correct touch handler