Statistics for Subword complexity and power avoidance