Show Bar Chart with counts of unique values

Hey Guys,

I need some help here. I have a value for each server which is cpucount.
I want to display a bar chart which counts the unique numbers.
So showing a count of servers with one cpu, count of servers with two cpus, and so on.

I already have the query for the cpucount value and also switched to X-Axis Mode “Series”.

Do you have an Idea?