@@ -0,0 +1,596 @@
+import csv%0Aimport os%0A%0Awith open(os.path.join(os.path.dirname(__file__), 'tweets_corpus/similarity_dataset_15028.csv'), newline='%5Cn') as csv_input:%0A    dataset = csv.reader(csv_input, delimiter=',', quotechar='%22')%0A    tweets = %5B(line%5B0%5D, line%5B1%5D, line%5B2%5D) for line in dataset%5D%0A%0Aretweet_count = 0%0Aformal_retweet_count = 0%0Afor date, tweet, category in tweets:%0A    if category == 'retweet':%0A        retweet_count += 1%0A        if tweet%5B:4%5D == 'RT @':%0A            formal_retweet_count += 1%0A%0Aprint('Retweet count: %7B%7D'.format(retweet_count))%0Aprint('Formal retweet count: %7B%7D'.format(formal_retweet_count))

Add calculate retweet script