Added count specs
Added joins specs