Add bp_count to userattr of workflow