Fix and optimize Statistics

- Fix Monitor Count
- Do not all SQL-Queries for one getStatistic call