added basic label support
count labeled nodes