REGR_COUNT
REGR_COUNT returns an integer that is the number of non-NULL number pairs used to fit the regression line.
Syntax
REGR_COUNT (expression1, expression2) OVER (window_clause)
Remarks
• Without a window clause, REGR_COUNT is a simple aggregate function.