calc histogramm of alive people count over time