The number of active tasks will not only include those tasks due today, next 7 days and overdue but this figure will also include those tasks that are due beyond the 7 day period - as shown in the screenshot below: