Statistic Querying

not finished