The monthly swap transaction count was calculated by getting a sum of the total unique transaction hashes in each month.