cree.js
function(stage, room) {
		i = 0;
		var stagemembers = (typeof room  === 'undefined') ? members : _.pluck(room.getMembers(true), 'id');
		for(var key in stagemembers)
			if(cloak.getUser(stagemembers[key]).data._stage == stage) 
				i++;
		return i;
	}
function(stage, room) {
		i = 0;
		var stagemembers = (typeof room  === 'undefined') ? members : _.pluck(room.getMembers(true), 'id');
		for(var key in stagemembers)
			if(cloak.getUser(stagemembers[key]).data._stage == stage) 
				i++;
		return i;
	}
function ( stage , room ) { i = 0 ; var stagemembers = ( typeof room === 'undefined' ) ? members : _ . pluck ( room . getMembers ( true ) , 'id' ) ; for ( var key in stagemembers ) if ( cloak . getUser ( stagemembers [ key ] ) . data . _stage == stage ) i ++ ; return i ; }
Counts and returns the number of users in a particular stage.
Counts and returns the number of users in a particular stage .