def row_counts(client, dataset, table_name):
    """
    Get the row count for a specified table

    client: bigquery connection
    dataset: a connected bigquery dataset
    table_name: name of the table

    Returns a count of the number of rows in a table
    """
    table = client.get_table(dataset.table(table_name))
    row_count = table.num_rows

    return row_count