SP.FieldRatingScale.rangeCount property (sp.js)
Gets a value that specifies the number of options in the rating scale.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.FieldRatingScale.get_rangeCount ()
Return value
Type: Number