I'm trying to count the number of females, males and N/A in the column 'gender' in the data frame trips. However is is returning me just the number of rows instead. 
library(dplyr)
count(trips, vars = "gender")
# A tibble: 1 × 2
#    vars      n
#   <chr>  <int>
#1 gender 286858
head(trips)
trip_id | start_time | stop_time | duration | bike_di | gender | birthyear
 1      | 10:00      | 11:00     |   3600   | BD-215  | Male   | 1960
 1      | 10:30      | 11:00     |   1800   | BD-715  | Female | 1960
 1      | 10:45      | 11:00     |    900   | BD-615  | Male   | 1960
 1      | 10:50      | 11:00     |    600   | BD-315  | Female | 1960
 
     
     
    