If you want a simple count you could remove the union and change the last triple to something like this:
?restriction owl:someValuesFrom ?itemOneOrItemTwo .
FILTER(?itemOneOrItemTwo IN (gfo:itemOne, gfo:itemTwo))
This way you can add/remove values as needed.