Counter_cache for user.photos