Add API controller to calculate variables, without summing them by entity.