Counting demographics by age and transition