The number of Rhode Island-based companies on the latest Inc. 5000 list saw a recovery after dipping last year.