Return the number of Facts in a metric or KPI FactList that have values greater than 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('daily expenses');

var count = list.countGreaterThan(50);

console.log('Found %s expenses above proof of receipt threshold', count);
Did this answer your question?