use exists() instead of counting