My script has a line that measures the number of instances of a process being run
procs=$(pgrep -f luminati | wc -l);
However, even though the content of $procs is a numeral, the shell script is not storing $procs as an integer. It is being stored as a string.
Therefore I cannot run conditionals like
if $procs > 3
Is there any way to convert this variable to integer type?