Implemeted Count and Exists