Added indexlot count caching