ActiveRecord query, dot notation for associations

Am I missing something in Active record, or is there a plug-in
available which easily allows to use the 'dot-notation' in deeply
linked (that is, more then one link away) associations. Suppose I want
to count the posts in a blog of a certain user, can I write something
like :condition = ?