Variable for quantity of articles

I've added the possibility to use a variable to set the quantity of articles, this way i can set how many articles i want to retrieve over a request.