Hi,1/I have data monthly from 2000m01 2015m12, my probleme is to create some series contained numbers of day, weeks, or nombers of weekday (Mondays, Tuesdays,..., Sundays) in month or in quarterly, and make the sum by row or by function for my seris "x_07" with the following code: (the code doesn't work correctly for the some parts )

the series d_01 should contained:2000m01 52000m02 4....etc5 and 4 represent the number of Mondays for each month, d_02 contained numbers of Tuesdays for each month,...etc.how can make the sum of the series by row or by function date "x_07" of d_01+...+d_07.

2/ In general case when frequency is monthly or quarterly by functions:how can genarate series contained the number of days in month or in quarterly by function not by @sum? how can genarate series contained number of Mondays, Tuesdays,..., Sundays in a month or in quarterly by function (not d01+d_02...+d_07)?how can genarate series contained number of weeks in month or in quarterly?

finaly: Probably i'm stupid to ask easy questions,i'm used to this software, i make a great effort to read some books theoretical in econometrics especially in english, however in programming i'm a beginner. Maybe i would become a great programmer.