p_add_tally function

dplyr modifying operations