fix count so it doesn't depend on rs save to work. #46