Optimize database queries

[Add] View to browse usage by vendor
[Add] View to browse usage by platform
[Add] View to see all counter usage in one table