added Photo.actions_count field