methods to calculate statistics and create posts based on statistics