add two count function in profile, plan module