Add .count() and relation methods.