whole_func_string: 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);
              });
      }
func_code_string: 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);
              });
      }
func_documentation_string: Get the count of running Autoscale process with actions of join or update.