It’s like the word “fish”. Fish is plural when you’re talking about a whole school of fish. But it’s “fishes” if you’re describing different species of fish.
“Coffee” is plural when there is lots of coffee, but “coffees” when describing different varieties.