Added bounce counting