added info() function for basic labeled node/edge statistics