[hibernate-dev] Query Extension: adding count method