@@ -58,7 +58,7 @@ def standard_list(skip_count, page_size, en_name_filter=None,
MATCH (n:data_standard)
WHERE {where_str}
RETURN properties(n) as properties,n.time as time,id(n) as nodeid,
- COUNT((()-[]->(n))) + COUNT(((n)-[]->())) as relationship_count
+ size([(n)<-[]-() | 1]) + size([(n)-[]->() | 1]) as relationship_count
ORDER BY time desc
SKIP $skip_count
LIMIT $page_size