Switch from sizeof to count; remove camelCased variable names