Python script to tell how many families were published each week