Cleaned up data naming in nested functions for social counter.