I think there was a discussion on that not too long ago, but I think sizeof(a)/sizeof(a[0]) will do it.
sizeof(a)/sizeof(a[0])
-j