core: add some cache on birthdays and counters_activity

Status Job ID Name Coverage
  Test
passed #2667
black

00:01:50

passed #2666
test

00:24:15

64.0%