Implement track count for ScriptCollections.