size_t size=sizeof(array)/sizeof(*array)
that is just not making sense to me, no matter how hard I try to figure it out.
I want the variable to hold the number of elements, not the size of the array in bytes
Size of whole array / size of one element = number of elements