Count() is an aggregation function, i.e. it counts the number of records associated with a dimensional value. It can be used as expression in a chart or as function in the load script if you have a "Group By". It takes many records as input and returns one number as output.
RowNo() is a scalar function, and counts the number of records as output from a Load statement.