将label也当作查询语句:
1 match (n) where any(label in labels(n) WHERE not( label in ['文件名'])) return n
节点计数:
MATCH (n) RETURN count(*)