This signature could be simplified by passing in context and lastTarget as `HasEntityType`.

The parameters seem like they are in a random order. We might be able to make it a bit easier to follow with a different ordering - at least one that could make a reasonable sentence, like "An actor performed an activity on a target in a context".

`wordCount` doesn't feel like it even belongs here, probably because Activity sounds too general to expect a count of words to apply to all activity types - not sure if there's anything sensible to be done about that though.