Fixed sizeof, changed to count.