By default, a Pivot Table will countall recordsin a data set.
In the example shown, the pivot table displays how many unique colors are sold in each state.
Fields
The pivot table shown is based on two fields: State and Color.
This is what makes the distinct count option available.