@grumpyw01f I believe it was the cardinal directions each line the last couple of clues started with, and the number of words in those lines.
They were directions from around Booty Island that lead to the Shores of Gold, or Tribute Peak.
Add numbers to those, and they got the code.
1-2-3-4-5-6-7-8-9-10-11
T-R-I-B-U-T-E-P-E-A--K
Then you take the coin counts from around the border and apply them to the above.
4-B
10-A
3-I
etc...
The spaces were from the transition between each edge of the sheet.