creating simple user statistic using Symfony