If the camera has TTL (Through The Lens) metering, it should read meter the scene correctly with the filter installed.
That being said, not every camera meters every color of filter correctly. And not every film responds the same way to colored filters. This is especially true with metering with red and IR filters. I would ignore those exceptions when starting out and just note any irregularities you happen to notice and compensate for them next time. Or shoot some test rolls first, if you’re planning on shooting something you don’t want to take a risk on.