Implement the `count` method on string objects by adding a new `primitive_string_count` function that calculates the length of the string using `strlen` and returns it as a numeric value. Register the primitive on the string class during VM initialization, including the forward declaration and the class setup in the `newVM` function.