Fix bug in printing grouped_dt
Add n function to all grouped sources.
Closes #10