Added suggestion from Github to continue counting