Measures how concentrated an Indian equity portfolio actually is, rather than how many line items it has. Computes the Herfindahl-Hirschman Index, the sum of the squared portfolio weights, and inverts it into the effective number of holdings, the count of equal-sized positions the portfolio actually behaves like. Measures sector concentration against a benchmark weight rather than against zero, classifies holdings into large, mid, and small cap using the AMFI band definition, and detects promoter-group cross-exposure so that several companies from one business house register as one bet. Use when a user asks whether their portfolio is diversified, whether they hold too muc…