// Count all nodes
MATCH (n)
RETURN count(n)
// Count all relationships
MATCH ()-->() RETURN count(*);
// Count all nodes
MATCH (n)
RETURN count(n)
// Display constraints and indexes
:schema
// List node labels
CALL db.labels()
// List relationship types
CALL db.relationshipTypes()
// What is related, and how
CALL db.schema.visualization()