How do I calculate frame data from counter hits?

So I have been using the frame data from event hubs and there is nothing for counter hits in there.

How do I figure out the frame data on counter hits?

You get +1 frame advantage for LP or LK counter hit, +3 for everything else.

Someone correct me if I’m wrong, but I’m pretty sure that’s right.

For SSFIV:

Super Street Fighter IV - Shoryuken Wiki