[#BloombergLP-bdlsta-LineFit-count] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsta.adoc[bdlsta]::xref:BloombergLP/bdlsta/LineFit.adoc[LineFit]::count :relfileprefix: ../../../ :mrdocs: Returns the number of elements in the data set. == Synopsis Declared in `<bdlsta_linefit.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int count() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#