I found this and used it:
// hide 0 vote count
.vote-count-0 {
display: none;
}
// hide the comma on the second to last tag
.discourse-tags:has(.vote-count-0) {
.discourse-tag:nth-last-child(2):after {
display: none;
}
}
It may need a tweak?