compute how many spans are labelled by an SAMT label