How are the push notifications limit counted?


Hi all,
we had some trouble with the 10k push limitations and often run into it the last months.
My question now is how are the amount of them are counted?
Are the amount of notifications multiplied with devices?
What is with offline devices? And where i can see all connected devices?