At first I thought it was just a simple replacement cipher, and that the letters at the top added up to the number reported after the cipher. Unfortunately it looks like that number is just adding everything up with (a-1, b-2, etc) after removing duplicates :(