Return the number of Facts in a metric or KPI FactList that have values less than or equal to the number supplied, ignoring null or NaN values.  If no facts are in the list or all the facts are null, NaN or less than the requested threshold return 0.

// returns a FactList
var list = kpis.get('utilisation');

var count = list.countLessThanOrEqualTo(50);

console.log('Found %s under utilised entries', count);
Did this answer your question?