         // Groups count
         //
         
-        let groupCountLabel = UILabel()
-        
-        groupCountLabel.textAlignment = .Center
-        groupCountLabel.font = UIFont.systemFontOfSize(15, weight: UIFontWeightRegular)
-        groupCountLabel.heightAnchor.constraintEqualToConstant(24.0).active = true
+//        let groupCountLabel = UILabel()
+//        
+//        groupCountLabel.textAlignment = .Center
+//        groupCountLabel.font = UIFont.systemFontOfSize(15, weight: UIFontWeightMedium)
+//        groupCountLabel.heightAnchor.constraintEqualToConstant(24.0).active = true
+//        groupCountLabel.translatesAutoresizingMaskIntoConstraints = false
         
         if let groupCount = self.userSnapshot!["groups"].int {
             
             postCountLabel.text = "\(groupCount) groups"
             
-            statStackView.addArrangedSubview(groupCountLabel)
+//            statStackView.addArrangedSubview(groupCountLabel)
             
         } else {
             

    //
    
    var profileTableHeader = UIView()

    //
    // MARK: UIKit Overrides

        // Summary stats stack view
        //
        
//        let statStackView = UIStackView()
//        
//        statStackView.axis = .Horizontal;
//        statStackView.distribution = .Fill;
//        statStackView.alignment = .Fill;
//        statStackView.spacing = 0;
//        statStackView.translatesAutoresizingMaskIntoConstraints = false
        
//        statGroupView.addSubview(statStackView)
//
//        statStackView.leadingAnchor.constraintEqualToAnchor(statGroupView.leadingAnchor).active = true
//        statStackView.trailingAnchor.constraintEqualToAnchor(statGroupView.trailingAnchor).active = true
//        statStackView.bottomAnchor.constraintEqualToAnchor(statGroupView.bottomAnchor).active = true
//        statStackView.heightAnchor.constraintEqualToConstant(24.0).active = true
//        statStackView.widthAnchor.constraintEqualToAnchor(statGroupView.widthAnchor, multiplier: 1.0)
//        statStackView.topAnchor.constraintEqualToAnchor(headerView.topAnchor).active = true
//        statStackView.bottomAnchor.constraintEqualToAnchor(headerView.bottomAnchor).active = true
        
//        let margins = statGroupView.layoutMarginsGuide
//        .leadingAnchor.constraint(equalTo: margins.leadingAnchor, constant: 20).isActive = true
        
        //
        // Post count
        //
        
        let postCountLabel: UILabel = {
            let label = UILabel()
            label.textAlignment = .Center
            label.font = UIFont.systemFontOfSize(15, weight: UIFontWeightMedium)
            label.heightAnchor.constraintEqualToConstant(24.0).active = true
            label.translatesAutoresizingMaskIntoConstraints = false
            return label
        }()
        
        let actionCountLabel: UILabel = {
            let label = UILabel()
            label.textAlignment = .Center
            label.font = UIFont.systemFontOfSize(15, weight: UIFontWeightMedium)
            label.heightAnchor.constraintEqualToConstant(24.0).active = true
            label.translatesAutoresizingMaskIntoConstraints = false
            return label
        }()
        
        let groupCountLabel: UILabel = {
            let label = UILabel()
            label.textAlignment = .Center
            label.font = UIFont.systemFontOfSize(15, weight: UIFontWeightMedium)
            label.heightAnchor.constraintEqualToConstant(24.0).active = true
            label.translatesAutoresizingMaskIntoConstraints = false
            return label
        }()
        
        let statStackView: UIStackView = {
            let stackView = UIStackView(arrangedSubviews: [postCountLabel, actionCountLabel, groupCountLabel])
            stackView.alignment = .Fill
            stackView.distribution = .Fill
            stackView.axis = .Horizontal
            stackView.translatesAutoresizingMaskIntoConstraints = false
            return stackView
        }()
        
        statGroupView.addSubview(statStackView)
        
        statStackView.leadingAnchor.constraintEqualToAnchor(statGroupView.leadingAnchor).active = true
        statStackView.trailingAnchor.constraintEqualToAnchor(statGroupView.trailingAnchor).active = true
        statStackView.bottomAnchor.constraintEqualToAnchor(statGroupView.bottomAnchor).active = true
        statStackView.heightAnchor.constraintEqualToConstant(24.0).active = true
        
//        do {
//            let postCountLabel = try UILabel()
//        } catch {
//            print(error)
//        }
        
//        let postCountLabel = UILabel()
//        
//        postCountLabel.textAlignment = .Center
//        postCountLabel.font = UIFont.systemFontOfSize(15, weight: UIFontWeightMedium)
//        postCountLabel.heightAnchor.constraintEqualToConstant(24.0).active = true
//        postCountLabel.translatesAutoresizingMaskIntoConstraints = false
        
        if let postCount = self.userSnapshot!["posts"].int {
            
            postCountLabel.text = "\(postCount) posts"
            
//            statStackView.addArrangedSubview(postCountLabel)
            
        } else {
            
