SyntaxFix
Write A Post
Hire A Developer
Questions
sizeof(yourObj)/sizeOf(yourObj[0])
should do the trick