New community statistics

DO NOT MERGE YET (in progress)