Get the count of running Autoscale process with actions of join or update.
function getAutoscaleProcessCount() {
        const actions = 'cluster-action update|-c update|cluster-action join|-c join';
        const grepCommand = `grep autoscale.js | grep -E '${actions}' | grep -v 'grep autoscale.js'`;

        return util.getProcessCount(grepCommand)
            .then((response) => {
                return q(response);
            })
            .catch((err) => {
                logger.error('Could not determine if another autoscale script is running');
                return q.reject(err);
            });
    }