Added getTargetUnit() to base RelationField axis trait

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Added countRelation() to correlate queries

Signed-off-by: Tom Wright <tom@inflatablecookie.com>